package com.hongdee.scm.enterwarehouse.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by Mr. Xu on 2017/5/5.
 */
@Entity
@Table(name = "T_Scm_Enter_Stock_Record")
public class TScmEnterWareHouse extends BaseEntity {
    /**
     * 车辆ID
     */
    @Column(name = "car_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车辆ID'")
    private String carId;
    /**
     * vin
     */
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'VIN'")
    private String vin;
    /**
     * 仓库ID
     */
    @Column(name = "warehouse_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '仓库ID'")
    private String warehouseId;
    /**
     * 入库时间
     */
    @Column(name = "enter_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '入库时间'")
    private String enterDate;
    /**
     * 入库方式(导入、扫码)
     */
    @Column(name = "enter_mode", length = 1, columnDefinition = "VARCHAR(1) COMMENT '入库方式(导入、扫码)'")
    private String enterMode;
    /**
     * 入库类型(采购入库、维修入库、维修回库、正常回库、退车回库)
     */
    @Column(name = "enter_type", length = 1, columnDefinition = "VARCHAR(1) COMMENT '入库方式'")
    private String enterType;
    /**
     * 入库人员
     */
    @Column(name = "enter_people", length = 32, columnDefinition = "VARCHAR(32) COMMENT '入库人员'")
    private String enterPeople;
    /**
     * 库位
     */
    @Column(name = "warehouse_location", length = 32, columnDefinition = "VARCHAR(32) COMMENT '库位'")
    private String warehouseLocation;

    /**
     * 入库单打印状态
     */
    @Column(name = "print_status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '入库单打印状态'")
    private String printStatus;

    /**
     * 公司ID
     */
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    /**
     * 入库时间
     */
    @Column(name = "leave_date", length = 32, columnDefinition = "date COMMENT '出库时间'")
    private Date leaveDate;


    public String getPrintStatus() {
        return printStatus;
    }

    public void setPrintStatus(String printStatus) {
        this.printStatus = printStatus;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getEnterDate() {
        return enterDate;
    }

    public void setEnterDate(String enterDate) {
        this.enterDate = enterDate;
    }

    public Date getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(Date leaveDate) {
        this.leaveDate = leaveDate;
    }

    public String getEnterMode() {
        return enterMode;
    }

    public void setEnterMode(String enterMode) {
        this.enterMode = enterMode;
    }

    public String getEnterType() {
        return enterType;
    }

    public void setEnterType(String enterType) {
        this.enterType = enterType;
    }

    public String getEnterPeople() {
        return enterPeople;
    }

    public void setEnterPeople(String enterPeople) {
        this.enterPeople = enterPeople;
    }

    public String getWarehouseLocation() {
        return warehouseLocation;
    }

    public void setWarehouseLocation(String warehouseLocation) {
        this.warehouseLocation = warehouseLocation;
    }
}
